package com.yjd.bi.user.enums;

/**
 * 用户状态
 * Created by yangchangyan on 2018/8/14.
 */
public enum UserStatus {

  REGISTER(0, "注册未开通存管"),
  OPEN_ACCOUNT(1, "已开通存管未充值"),
  RECHARGED(2, "充值未投资"),
  INVESTED(3, "投资未复投"),
  REINVEST(4, "复投未推广"),
  SHARED(5, "复投已推广")
  ;

  private int code;
  private String label;
  private UserStatus(int code, String label){
    this.code = code;
    this.label = label;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getLabel() {
    return label;
  }

  public void setLabel(String label) {
    this.label = label;
  }
}
